package net.csdn.business.common.domain.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import net.csdn.business.common.enums.IssueEnum;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Positive;

/**
 * @author likun
 * @date 2022/6/17 22:42
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MyIssueQueryDto extends IssueBaseQueryDto {

    /**
     * {@link IssueEnum.QueryTypeEnum}
     */
    @NotBlank(message = "type 不能为空")
    private String type;

    @Positive(message = "projectId 不合法")
    private Long projectId;
}